package lesson04.作业.作业01;

import java.util.ArrayList;
import java.util.List;

public class TList {

    private volatile List list = new ArrayList<>();
    public void add(Object a){
        list.add(a);
    }

    public Integer size(){
        return list.size();
    }

}
